FROM frolvlad/alpine-oraclejdk8:slim
MAINTAINER guolejian
WORKDIR /usr/local
ADD gitcicd-test/target/gitcicd-test-1.0-SNAPSHOT.jar app.jar
ADD docker-entrypoint.sh docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh
RUN ls -l
RUN pwd
ENTRYPOINT ["java", "-Dlog.path=logs -Djava.security.egd=file:/dev/./urandom", "-jar", "./app.jar"]